package com.wlyuan.index.api.waybill.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author yuanjie
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WaybillNumDivideDTO extends WaybillDivideDTO<WaybillNumDivideDTO.Divide> {

    @Data
    public static class Divide implements IDivide, Serializable {
        @ApiModelProperty("物品ID")
        private Long goodsId;
        @ApiModelProperty("批次号")
        private String batchNo;
        @ApiModelProperty("联系人")
        private List<Integer> nums;
    }

    private List<Divide> divides;
}
